/**
 * @filename:Course Course
 * @project constract  V1.0
 * Copyright(c) 2018 gong Co. Ltd. 
 * All right reserved. 
 */
package com.znufe.exam.domain;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import org.springframework.format.annotation.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;

/**   
 *  
 * @Description:  课程表
 * @Author:       gong   
 * @CreateDate:   Course
 * @Version:      V1.0
 *    
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Course implements Serializable {

	private static final long serialVersionUID = 1591344586792L;
	
	@ApiModelProperty(name = "id" , value = "逻辑主键")
	private Integer id;
	@ApiModelProperty(name = "courseName" , value = "课程名称")
	private String courseName;
	@ApiModelProperty(name = "subtitle" , value = "副标题")
	private String subtitle;
	@ApiModelProperty(name = "introduction" , value = "课程简介")
	private String introduction;

	@ApiModelProperty(name = "courseType" , value = "课程级别ID")
	private Integer courseType;
    @ApiModelProperty(name = "courseTypeCategory" , value = "0-级别；1-项目")
    private Integer courseTypeCategory;

	@ApiModelProperty(name = "courseProject" , value = "课程项目ID")
	private Integer courseProject;
    @ApiModelProperty(name = "courseProjectCategory" , value = "0-级别；1-项目")
    private Integer courseProjectCategory;

	@ApiModelProperty(name = "coverPath" , value = "课程封面图片地址")
	private String coverPath;
	@ApiModelProperty(name = "status" , value = "0-启用；1-禁用")
	private Integer status;
	@ApiModelProperty(name = "isDeleted" , value = "0-未删除；1-已删除")
	private Integer isDeleted;
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
	@ApiModelProperty(name = "gmtCreate" , value = "记录创建时间")
	private Date gmtCreate;
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
	@ApiModelProperty(name = "gmtModified" , value = "记录修改时间")
	private Date gmtModified;

}
